import request from "../utils/request";
// 验证手机号码
export const getDel = (data: string) => request.post('/api/user/docheckphone', data)
//发送短信验证码
export const getMsgcode = (tel: string) => request.post('/api/user/dosendmsgcode', tel)
//验证短信验证码
export const getCode = (data: { tel: string, telcode: number }) => request.post('/api/user/docheckcode', data)
//注册
export const getRegister = (data: { tel: string, password: string }) => request.post('/api/user/dofinishregister', data)